﻿<UserControl x:Class="NUnitResultsExplorer.Controls.TestResultProperties"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid VerticalAlignment="Top" HorizontalAlignment="Left">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MinWidth="150" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <TextBlock Margin="0,2,0,2" Text="Status" />
        <TextBlock Margin="0,2,0,2" Grid.Column="1" Text="{Binding Status, Converter={StaticResource statusToStringConverter}}" />
        <TextBlock Margin="0,2,0,2" Grid.Row="1" Text="Time" />
        <TextBlock Margin="0,2,0,2" Grid.Row="1" Grid.Column="1" Text="{Binding Time, Converter={StaticResource timeToStringConverter}}" />
        <TextBlock Margin="0,2,0,2" Grid.Row="2" Text="Asserts" />
        <TextBlock Margin="0,2,0,2" Grid.Row="2" Grid.Column="1" Text="{Binding Asserts, Converter={StaticResource assertsToStringConverter}}" />
    </Grid>
</UserControl>
